import numpy as np

miRNA = [185, 24, 34, 12, 119, 37, 9, 12, 12, 16, 105, 2, 312, 12, 12, 166, 5, 2, 520, 8]
disease = [9, 282, 140, 216, 245, 216, 160, 181, 282, 144, 245, 160, 144, 187, 144, 9, 160, 140, 282, 160]
A = np.loadtxt('../datasets/MDAData/data(336-577)/m-d.txt', delimiter=',')
B = []
numb = 0

for i in range(len(miRNA)):
    B.append(A[miRNA[i] - 1, disease[i] - 1])
    if A[miRNA[i] - 1, disease[i] - 1] == 0:
        numb += 1
print(B)
print(numb)
